package com.daylightrobbery.service;

import com.daylightrobbery.entity.Account;
import com.daylightrobbery.entity.UserSignInLog;
import com.daylightrobbery.server.entity.DeviceInfo;

import java.util.List;

public interface UserSignInLogService {

    public void addLog(Account account, String ip, DeviceInfo deviceInfo, String type);

    public void addLog(UserSignInLog log);

    public UserSignInLog getLogById(int logId);

    public void updateLog(UserSignInLog log);

    public void deleteLog(int logId);

    public List<UserSignInLog> getAllLogs();
}
